{if isNewProject}
{welcomeMessage}
{translate(\'Please enter\')}
{/if}{if not isNewProject}{welcomeMessage}
{/if}{clientName}
{{ERROR}}
"),this.setContent(e,i)}clearContent(e){var t;null===(t=this.carousel)||void 0===t||t.emit("removeSlide",e)}getSlide(){var e;const t=this.carousel;return(null===(e=null==t?void 0:t.pages[null==t?void 0:t.page])||void 0===e?void 0:e.slides[0])||void 0}close(e,t){if(this.isClosing())return;const s=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(this.emit("shouldClose",s,e),s.defaultPrevented)return;e&&e.cancelable&&(e.preventDefault(),e.stopPropagation());const i=this.fsAPI,n=()=>{this.proceedClose(e,t)};i&&i.isFullscreen()?Promise.resolve(i.exit()).then((()=>n())):n()}clearIdle(){this.idleTimer&&clearTimeout(this.idleTimer),this.idleTimer=null}setIdle(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=()=>{this.clearIdle(),this.idle=!0,aa(this.container,"is-idle"),this.emit("setIdle")};if(this.clearIdle(),!this.isClosing())if(e)t();else{const e=this.option("idle");e&&(this.idleTimer=setTimeout(t,e))}}endIdle(){this.clearIdle(),this.idle&&!this.isClosing()&&(this.idle=!1,oa(this.container,"is-idle"),this.emit("endIdle"))}resetIdle(){this.endIdle(),this.setIdle()}toggleIdle(){this.idle?this.endIdle():this.setIdle(!0)}toggleFullscreen(){const e=this.fsAPI;e&&(e.isFullscreen()?e.exit():this.container&&e.request(this.container))}isClosing(){return[Ia.Closing,Ia.CustomClosing,Ia.Destroy].includes(this.state)}proceedClose(e,t){var s,i;this.state=Ia.Closing,this.clearIdle(),this.detachEvents();const n=this.container,o=this.carousel,a=this.getSlide(),r=a&&this.option("placeFocusBack")?a.triggerEl||this.option("triggerEl"):null;if(r&&(qa(r)?Ma(r):r.focus()),n&&(aa(n,"is-closing"),n.setAttribute("aria-hidden","true"),this.option("animated")&&aa(n,ur),n.style.pointerEvents="none"),o){o.clearTransitions(),null===(s=o.panzoom)||void 0===s||s.destroy(),null===(i=o.plugins.Navigation)||void 0===i||i.detach();for(const e of o.slides){e.state=Oa.Closing,this.hideLoading(e);const t=e.contentEl;t&&this.stop(t);const s=null==e?void 0:e.panzoom;s&&(s.stop(),s.detachEvents(),s.detachObserver()),this.isCurrentSlide(e)||o.emit("removeSlide",e)}}this.emit("close",e),this.state!==Ia.CustomClosing?(void 0===t&&a&&(t=this.optionFor(a,"hideClass")),t&&a?(this.animate(a.contentEl,t,(()=>{o&&o.emit("removeSlide",a)})),setTimeout((()=>{this.destroy()}),500)):this.destroy()):setTimeout((()=>{this.destroy()}),500)}destroy(){var e;if(this.state===Ia.Destroy)return;this.state=Ia.Destroy,null===(e=this.carousel)||void 0===e||e.destroy();const t=this.container;t&&t.remove(),vr.delete(this.id);const s=br.getInstance();s?s.focus():(mr&&(mr.remove(),mr=null),gr&&(gr.remove(),gr=null),oa(document.documentElement,rr),(()=>{if(!Aa)return;const e=document,t=e.body;t.classList.remove(lr),t.style.setProperty(dr,""),e.documentElement.style.setProperty(cr,"")})(),this.emit("destroy"))}static bind(e,t,s){if(!Aa)return;let i,n="",o={};if(void 0===e?i=document.body:"string"==typeof e?(i=document.body,n=e,"object"==typeof t&&(o=t||{})):(i=e,"string"==typeof t&&(n=t),"object"==typeof s&&(o=s||{})),!i||!na(i))return;n=n||"[data-fancybox]";const a=br.openers.get(i)||new Map;a.set(n,o),br.openers.set(i,a),1===a.size&&i.addEventListener("click",br.fromEvent)}static unbind(e,t){let s,i="";if("string"==typeof e?(s=document.body,i=e):(s=e,"string"==typeof t&&(i=t)),!s)return;const n=br.openers.get(s);n&&i&&n.delete(i),i&&n||(br.openers.delete(s),s.removeEventListener("click",br.fromEvent))}static destroy(){let e;for(;e=br.getInstance();)e.destroy();for(const e of br.openers.keys())e.removeEventListener("click",br.fromEvent);br.openers=new Map}static fromEvent(e){if(e.defaultPrevented)return;if(e.button&&0!==e.button)return;if(e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0];const s=t.closest("[data-fancybox-trigger]");if(s){const e=s.dataset.fancyboxTrigger||"",i=document.querySelectorAll(`[data-fancybox="${e}"]`),n=parseInt(s.dataset.fancyboxIndex||"",10)||0;t=i[n]||t}if(!(t&&t instanceof Element))return;let i,n,o,a;if([...br.openers].reverse().find((e=>{let[s,r]=e;return!(!s.contains(t)||![...r].reverse().find((e=>{let[r,l]=e,c=t.closest(r);return!!c&&(i=s,n=r,o=c,a=l,!0)})))})),!i||!n||!o)return;a=a||{},e.preventDefault(),t=o;let r=[],l=Go({},Na,a);l.event=e,l.triggerEl=t,l.delegate=s;const c=l.groupAll,d=l.groupAttr,u=d&&t?t.getAttribute(`${d}`):"";if((!t||u||c)&&(r=[].slice.call(i.querySelectorAll(n))),t&&!c&&(r=u?r.filter((e=>e.getAttribute(`${d}`)===u)):[t]),!r.length)return;const h=br.getInstance();return h&&h.options.triggerEl&&r.indexOf(h.options.triggerEl)>-1?void 0:(t&&(l.startIndex=r.indexOf(t)),br.fromNodes(r,l))}static fromSelector(e,t){let s=null,i="";if("string"==typeof e?(s=document.body,i=e):e instanceof HTMLElement&&"string"==typeof t&&(s=e,i=t),!s||!i)return!1;const n=br.openers.get(s);if(!n)return!1;const o=n.get(i);return!!o&&br.fromNodes(Array.from(s.querySelectorAll(i)),o)}static fromNodes(e,t){t=Go({},Na,t||{});const s=[];for(const i of e){const e=i.dataset||{},n=e.src||i.getAttribute("href")||i.getAttribute("currentSrc")||i.getAttribute("src")||void 0;let o;const a=t.delegate;let r;a&&s.length===t.startIndex&&(o=a instanceof HTMLImageElement?a:a.querySelector("img:not([aria-hidden])")),o||(o=i instanceof HTMLImageElement?i:i.querySelector("img:not([aria-hidden])")),o&&(r=o.currentSrc||o.src||void 0,!r&&o.dataset&&(r=o.dataset.lazySrc||o.dataset.src||void 0));const l={src:n,triggerEl:i,thumbEl:o,thumbElSrc:r,thumbSrc:r};for(const t in e)l[t]=e[t]+"";s.push(l)}return new br(s,t)}static getInstance(e){return e?vr.get(e):Array.from(vr.values()).reverse().find((e=>!e.isClosing()&&e))||null}static getSlide(){var e;return(null===(e=br.getInstance())||void 0===e?void 0:e.getSlide())||null}static show(){return new br(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}static next(){const e=br.getInstance();e&&e.next()}static prev(){const e=br.getInstance();e&&e.prev()}static close(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];for(var t=arguments.length,s=new Array(t>1?t-1:0),i=1;i{translate("Fill in the required fields or write to us if you have a question")}
\n{translate("Please describe your question in more detail")}
',faq_username:'\n',file:'{translate("Fill in the required fields or write to us if you have a question")}
\n{answer}
\n{/if}\n{form}\n{userNameField}\n{message}\n",item:'